package com.ruoyi.bole.integral.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

// IntegrationRankVO.java
@Data
public class IntegrationRankVO {
    @NotNull
    private Long userId;
    @NotBlank
    private String userName = "";  // 默认值

    private String avatar;

    private String nickName;
    private Integer totalScore;
    
    // 排名字段（业务计算）
    private Integer rank;
}